typedef void* intr_handler;